package com.jcp.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.jcp.entity.Parment;
import com.jcp.entity.Record;
import com.jcp.entity.Users;

/**
 * 用户余额的service层
 * @author 林瀚东
 *
 */
public interface PayService {
	//余额查询的方法
	List<Users> selectMoney(String phoneNumber);
	//查询进出记录的方法
	List<Record> selectrecordbycar(String phoneNumber); 
	//余额增加
	boolean addremainder(double remainder,String phoneNumber);
	//余额减少
	boolean reduceremainder(double remainder,String phoneNumber);
	//查询消费记录
	List<Parment> selectparmt(String phoneNumber);
	
	int JCPhuiyuan(String time,String phoneNumber) ;
}
